package com.dagene.weixin.repository;

import java.util.List;

import org.springframework.data.repository.CrudRepository;

import com.dagene.weixin.entity.CustomerService;


public interface CustomerServiceDao extends CrudRepository<CustomerService, Long> {	
	
	public CustomerService findOneByOpenid(String openid);
	
	public CustomerService findOneByName(String name);
	
	public CustomerService findOneByOaaccount(String oaaccount);
	
	public List<CustomerService> findAll();
}
